<#assign tableName = "${table.controllerName}"?replace("Controller","")>
package ${package.Service};

import ${package.Parent}.core.domain.aggregatemodel.${tableName};
import ${package.Parent}.core.application.command.Add${tableName}Command;
import ${package.Parent}.core.application.command.Update${tableName}Command;
import ${package.Parent}.core.application.command.Del${tableName}Command;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
public interface ${table.serviceName} {
    /**
     * 新增
     */
    ${tableName} add${tableName}(Add${tableName}Command add${tableName}Command);

    /**
     * 删除
     */
    void del${tableName}(Del${tableName}Command del${tableName}Command);

    /**
     * 修改
     */
    ${tableName} update${tableName}(Update${tableName}Command update${tableName}Command);

}
